package com.ylyq.ylxx.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @ClassName UpdateCreativeState
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/7/2 9:56
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "创建广告创意的请求参数")
public class UpdateCreativeState {
    @ApiModelProperty(value = "广告主ID")
    @NotNull(message = "广告主ID不能为空")
    private Long advertiser_id;
    @ApiModelProperty(value = "创意ID集合")
    @NotNull(message = "创意ID集合不能为空")
    private Long[] creative_ids;
    @ApiModelProperty(value = "操作, \"enable\"表示启用, \"disable\"表示暂停\n" +
            "允许值: \"enable\", \"disable\"，如果创意本身已经删除，进行此类操作会报错。")
    @NotNull(message = "操作不能为空")
    private String opt_status;
}
